package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.SysCompanyReportReason;

/**
 * 诊断报告原因模版库Service接口
 * 
 * @author ruoyi
 * @date 2023-08-19
 */
public interface ISysCompanyReportReasonService 
{
    /**
     * 查询诊断报告原因模版库
     * 
     * @param reasonId 诊断报告原因模版库主键
     * @return 诊断报告原因模版库
     */
    public SysCompanyReportReason selectSysCompanyReportReasonByReasonId(Long reasonId);

    /**
     * 查询诊断报告原因模版库列表
     * 
     * @param sysCompanyReportReason 诊断报告原因模版库
     * @return 诊断报告原因模版库集合
     */
    public List<SysCompanyReportReason> selectSysCompanyReportReasonList(SysCompanyReportReason sysCompanyReportReason);

    /**
     * 新增诊断报告原因模版库
     * 
     * @param sysCompanyReportReason 诊断报告原因模版库
     * @return 结果
     */
    public int insertSysCompanyReportReason(SysCompanyReportReason sysCompanyReportReason);

    /**
     * 修改诊断报告原因模版库
     * 
     * @param sysCompanyReportReason 诊断报告原因模版库
     * @return 结果
     */
    public int updateSysCompanyReportReason(SysCompanyReportReason sysCompanyReportReason);

    /**
     * 批量删除诊断报告原因模版库
     * 
     * @param reasonIds 需要删除的诊断报告原因模版库主键集合
     * @return 结果
     */
    public int deleteSysCompanyReportReasonByReasonIds(Long[] reasonIds);

    /**
     * 删除诊断报告原因模版库信息
     * 
     * @param reasonId 诊断报告原因模版库主键
     * @return 结果
     */
    public int deleteSysCompanyReportReasonByReasonId(Long reasonId);
}
